package com.jiuyi.service;

import com.jiuyi.common.R;
import com.jiuyi.entity.Category;
import com.jiuyi.vo.AdminSelectCategoryListVo;
import com.jiuyi.vo.AdminSelectCategoryVo;

/**
 * DATA: 2022/10/19
 * Author: 晨夕
 */
public interface CategoryService {
    //添加分类
    R addCategory(Category category);
    //查询分类
    R<AdminSelectCategoryVo> selectCategory(int page, int pageSize);
    //修改分类
    R updateCategory(Category category);
    //删除分类
    R deleteCategory(Long ids);
    //查询分类列表
    R<AdminSelectCategoryListVo> selectCategoryList();
}
